<script type="text/javascript" src="/static/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/static/ueditor/ueditor.all.js"></script>
<form action="/article/edit" method="post"  role="form">
            <div class="form-group">
              <label >标题</label>
              <input type="text" name="Title" class="form-control"  placeholder="标题" value="{{.model.Title}}"/>
            </div>
            <div class="form-group">
              <label >内容</label>
              <textare id="tabody" style="display:none;">{{str2html .model.Body}}</textare>
              <script id="container" name="Body" style="width:100%;height:360px;" type="text/plain"></script>
            </div>
            <input name="Id" type="hidden" value="{{.model.Id}}" /> 
            <button type="submit" class="btn btn-default">提交</button>
          </form>
<script type="text/javascript">
        var ue = UE.getEditor('container');
        $("#container").html($("#tabody").html());
</script>
